package com.rtx.edi.model.api.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * api报文结构表映射表
 * </p>
 *
 * @author cafebabe
 * @since 2023-03-20
 */
@TableName("pl_api_mapping_structure")
@ApiModel(value = "PlApiMappingStructure对象", description = "api报文结构表映射表")
public class PlApiMappingStructure {

    private Long companyId;

    private Long apiMappingId;

    private Long sourceFieldCode;
    
    private String sourceFieldName;

    private Long sourceParentField;

    private String sourceFieldType;

    private Long targetFieldCode;

    private String targetFieldName;

    private Long targetParentField;
    
    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
    private String targetFieldType;
    
    private String checknull;
    
    private String mappingType;
    
    private Long mappingRequestField;
    
    private String mappingGloableField;
    
    private String targetFieldPath;
    
    private String sourceFieldPath;
    
    private String fieldFullPath;
    
    private String fieldScript;
    
    private String targetDefaultValue;
    //WMS流水号类型
    private String serialnumber;
    
    //该节点是否为加入报文中 默认为否
    private String isfiledrequest;
    //节点描述
    private String fielddesc;
    
	public String getIsfiledrequest() {
		return isfiledrequest;
	}
	public void setIsfiledrequest(String isfiledrequest) {
		this.isfiledrequest = isfiledrequest;
	}
	public String getFielddesc() {
		return fielddesc;
	}
	public void setFielddesc(String fielddesc) {
		this.fielddesc = fielddesc;
	}
	public String getTargetDefaultValue() {
		return targetDefaultValue;
	}
	public void setTargetDefaultValue(String targetDefaultValue) {
		this.targetDefaultValue = targetDefaultValue;
	}
	public String getFieldScript() {
		return fieldScript;
	}
	public void setFieldScript(String fieldScript) {
		this.fieldScript = fieldScript;
	}
	public String getFieldFullPath() {
		return fieldFullPath;
	}
	public void setFieldFullPath(String fieldFullPath) {
		this.fieldFullPath = fieldFullPath;
	}
	public String getTargetFieldPath() {
		return targetFieldPath;
	}
	public void setTargetFieldPath(String targetFieldPath) {
		this.targetFieldPath = targetFieldPath;
	}
	public String getSourceFieldPath() {
		return sourceFieldPath;
	}
	public void setSourceFieldPath(String sourceFieldPath) {
		this.sourceFieldPath = sourceFieldPath;
	}
	public Long getCompanyId() {
		return companyId;
	}
	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}
	public Long getSourceFieldCode() {
		return sourceFieldCode;
	}
	public void setSourceFieldCode(Long sourceFieldCode) {
		this.sourceFieldCode = sourceFieldCode;
	}
	public String getSourceFieldName() {
		return sourceFieldName;
	}
	public void setSourceFieldName(String sourceFieldName) {
		this.sourceFieldName = sourceFieldName;
	}
	public Long getSourceParentField() {
		return sourceParentField;
	}
	public void setSourceParentField(Long sourceParentField) {
		this.sourceParentField = sourceParentField;
	}
	public String getSourceFieldType() {
		return sourceFieldType;
	}
	public void setSourceFieldType(String sourceFieldType) {
		this.sourceFieldType = sourceFieldType;
	}
	public Long getTargetFieldCode() {
		return targetFieldCode;
	}
	public void setTargetFieldCode(Long targetFieldCode) {
		this.targetFieldCode = targetFieldCode;
	}
	public String getTargetFieldName() {
		return targetFieldName;
	}
	public void setTargetFieldName(String targetFieldName) {
		this.targetFieldName = targetFieldName;
	}
	public Long getTargetParentField() {
		return targetParentField;
	}
	public void setTargetParentField(Long targetParentField) {
		this.targetParentField = targetParentField;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getTargetFieldType() {
		return targetFieldType;
	}
	public void setTargetFieldType(String targetFieldType) {
		this.targetFieldType = targetFieldType;
	}
	public String getChecknull() {
		return checknull;
	}
	public void setChecknull(String checknull) {
		this.checknull = checknull;
	}
	public String getMappingType() {
		return mappingType;
	}
	public void setMappingType(String mappingType) {
		this.mappingType = mappingType;
	}
	public Long getMappingRequestField() {
		return mappingRequestField;
	}
	public void setMappingRequestField(Long mappingRequestField) {
		this.mappingRequestField = mappingRequestField;
	}
	public String getMappingGloableField() {
		return mappingGloableField;
	}
	public void setMappingGloableField(String mappingGloableField) {
		this.mappingGloableField = mappingGloableField;
	}

	public Long getApiMappingId() {
		return apiMappingId;
	}

	public void setApiMappingId(Long apiMappingId) {
		this.apiMappingId = apiMappingId;
	}
	public String getSerialnumber() {
		return serialnumber;
	}
	public void setSerialnumber(String serialnumber) {
		this.serialnumber = serialnumber;
	}
	
}
